#file = open('./1.txt', 'r', encoding='utf-8')
#print(file.read())
#file.close()




#with open(".1/.txt", "w", encoding="utf-8") as f:
   # print(file.read(2))
   # print(file.read(1))
    #print(file=readline().strip())
  #  print(file=readline().strip())
    #print(file=readline().strip())
    #while True:
      #  line = file.readlines()
       ## break
       # print(line.strip())

   # List=file.readlines()
    #print(List)


   list = ['a','b','c']
   with open(".1/.txt", "w", encoding="utf-8") as f:
      # for.write('helloWorld\n')
       #for.write('我的祖国')
       file.writelines(list)


      with open('./a.png','rb')as file:
       with open('D:\temp\pictures\20251106.png,'wb')as file2:
         while True:
           data = file.read(1024)
             if not data:
                 break
             file2.write(data)
# flag = os.path.isfile("./a.png")
# flag2 = os.path.exists("./b.png")
# print(flag)
# print(flag2)
# os.makedirs("./a.png")
# flag2 = os.path.exists("./b.png")
# print(flag2)
# os.remove("./2.txt")
# os.remove('./1.txt','./2.txt')

# print(os.getcwdb())
# print(os.listdir('.'))
for root, dirs, files in os.walk('./'):
    # print(root)
    # print('--------------------------------1')
    # print(dirs)
    # print('--------------------------------2')
    print(files)
    # print('--------------------------------3')